<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8">
		<title>Stacktrace view</title>
	</head>
	<body>
		<h1>StackTrace view</h1>
		<p>
		The StackTrace view is normally part of the <a href="stacktrace_window.html">StackTrace window</a>, which is shown if an error occurs while debugging a model. 
		The view shows:
		<ol>
			<li>Error Message: description of the error</li>
			<li>Process Name: process in which the error occurred</li>
			<li>Stack: list of stackframes that led to the error</li>
		</ol>
		When selecting a stackframe, the <a href="stacktrace_variables_view.html">StackTrace Variables view </a> shows all parameters and variables that are accessible by the stackframe. 
		The corresponding fragment of the model is highlighted in the editor.
		</p>
		<p>
		Apart from the native built-in errors, POOSL models can also trigger their own errors by calling the data method called "error". The custom error message has to be provided as the argument of this method call.  
		</p>
		<img src="img/stacktrace_view.png"/>
	</body>
</html>